package com.stone.framework.message.basic.dict;

import javax.validation.constraints.Pattern;

import com.stone.framework.message.SortableBody;

import io.swagger.annotations.ApiModelProperty;

public class DictMemberPageReqBody extends SortableBody {

    @ApiModelProperty(value = "st_dict_category ID")
    private String dictCategoryCode;

    @ApiModelProperty(value = "排序：createDate|updateDate|code|order")
    @Pattern(regexp = "(createDate|updateDate|code|order)",
        message = "[orderBy] must be 'createDate|updateDate|code|order'")
    @Override
    public String getOrderBy() {
        return super.getOrderBy();
    }

    public String getDictCategoryCode() {
        return dictCategoryCode;
    }

    public void setDictCategoryCode(String dictCategoryCode) {
        this.dictCategoryCode = dictCategoryCode;
    }

}
